package com.toy.core.security;

import org.springframework.core.NestedRuntimeException;

public abstract class SecurityRuntimeException extends NestedRuntimeException{
	 //~ Constructors ===================================================================================================

	/**
	     * Constructs an <code>SecurityException</code> with the specified
	     * message and root cause.
	     *
	     * @param msg the detail message
	     * @param t the root cause
	     */
	    public SecurityRuntimeException(String msg, Throwable t) {
	        super(msg, t);
	    }

	/**
	     * Constructs an <code>SecurityException</code> with the specified
	     * message and no root cause.
	     *
	     * @param msg the detail message
	     */
	    public SecurityRuntimeException(String msg) {
	        super(msg);
	    }
}
